package com.pzsh.constant;

public interface ConstantInterface {
    /**
     * JWT认证用的KEY
     */
    String JWT_SECRET = "jwt&UnionPay";
    // jwt中ars秘钥key
    String JWT_KEY = "jwt&UnionPay";
    // 发行人
    String JWT_ISSUER = "PZSHGroup";

    /**
     * MD5加盐
     */
    String MD5_SALT_TOKEN = "PZSH";
    String MD5_SALT_WXCODE = "UnionPay-WX";
    String MD5_SALT_TIME = "UnionPay-TIME";
    String MD5_SALT_IDFA = "IDFA";

    /**
     * 用户key
     */
    String ENCODING_FORMAT_UTF8 = "UTF-8";

    /**
     * 用户key
     */
    String USER_ID = "userId";

    /**
     * 请求头中安全认证的KEY
     */
    String REQUEST_KEY_AUTHORIZATION = "token";

    /**
     * 默认接口缓存，不设置失效时间
     */
    String KEY_CACHE_DEFAULT = "Default:";
    /**
     * 用户token前缀
     */
    String TOKEN_REDIS_KEY = "PZSHToken:";

    /**
     * 用户登录
     */
    String USER_LOGIN = "Login:";

    /**
     * 注册短信验证码
     */
    String VERIFICATION_CODE_FOR_REGISTER = "VerificationCodeForRegister:";

    /**
     * 修改密码短信验证码
     */
    String VERIFICATION_CODE_FOR_CHANGE_PASSWORD = "VerificationCodeForChangePassword:";

    /**
     * 修改账户绑定的手机号
     */
    String VERIFICATION_CODE_FOR_CHANGE_MOBILE = "VerificationCodeForChangeMobile:";

    /**
     * 忘记支付密码 的手机号
     */
    String VERIFICATION_CODE_FOR_PAY_PASSWORD = "VerificationCodeForPayPwd:";
    /**
     * ps转账 短信验证码
     */
    String VERIFICATION_CODE_FOR_PS = "VerificationCodeForPS:";
    /**
     * TOKEN过期时间30天
     */
    int TOKEN_EXPIRES_HOUR = 60 * 60 * 24 * 30;

    /**
     * 文件分隔符
     */
    String FILE_SEPARATOR = "/";


    /**
     * 域名
     */
    String DOMAIN_URL = "DOMAIN_URL";
    /**
     * 合法域名
     */
    String LEGAL_URL = "LEGAL_URL";
    String LINK_MEMBER_CENTER = "LINK_MEMBER_CENTER";
    String LINK_REGISTRY = "LINK_REGISTRY";
    String LINK_SHOP_INFO = "LINK_SHOP_INFO";
    String LINK_INTEGRAL = "LINK_INTEGRAL";

    /**
     * 小程序appId与秘钥
     */
    String APP_ID = "wxb6db6fb91ea6774d";
    String APP_SECRECT = "e6d058a620c4797b143eeeff9802c03f";
    
    /**
     * 微信公众号appId与秘钥
     */
    String WX_ID = "wx92d4b6cda4eba588";
    String WX_SECRECT = "0747daedf683cb578f787362cfbf3fac";

    /**
     * 微信公众号令牌(Token)
     */
    String WX_TOKEN_KEY = "UnionPayToken";

}
